﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NC.Infrastructure.Dics
{
    public class SelectDictionary
    {

        #region 借口申请状态


        private static Dictionary<int, string> auditStatusDictionary;

        /// <summary>
        /// 获取申请状态所有数据字典
        /// </summary>
        public static Dictionary<int, string> AuditStautsDictionary
        {
            get
            {
                if (auditStatusDictionary == null)
                {
                    auditStatusDictionary = new Dictionary<int, string>();
                    auditStatusDictionary.Add(1, "提出申请");
                    auditStatusDictionary.Add(2, "正在审核");
                    auditStatusDictionary.Add(3, "经过审核");
                    auditStatusDictionary.Add(4, "拒绝");
                }
                return auditStatusDictionary;
            }
        }
        /// <summary>
        /// 获取下拉框数据字典
        /// </summary>
        public static Dictionary<int, string> AuditStatusDictionaryAll
        {
            get
            {
                var dic = AuditStatusDictionaryAll;
                dic.Add(-1, "全部");
                return dic;
            }
        }


        #endregion
    }
}
